package com.cmcc.pcap.packet.tcp.tcp;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import com.cmcc.pcap.packet.tcp.TcpConnection;
import com.cmcc.pcap.packet.tcp.http.HttpTransaction;
import com.cmcc.pcap.packet.tcp.https.HttpsStatistics;

public class TcpStatistics {
	
public static Logger logger = LogManager.getLogger(TcpStatistics.class);
	
	public static HttpTransaction tcpstatistics(TcpConnection tcpConnection) {
		HttpTransaction tcpTransaction = new HttpTransaction(tcpConnection); 
		tcpTransaction.al_splited = tcpConnection.reassembleAl;
		tcpTransaction.HttpStatistics(tcpConnection);
		return tcpTransaction;
	}

}
